package com.campusify.mapper;

import com.campusify.pojo.Purchaserecord;
import com.campusify.pojo.PurchaserecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PurchaserecordMapper {
    long countByExample(PurchaserecordExample example);

    int deleteByExample(PurchaserecordExample example);

    int deleteByPrimaryKey(Integer recordid);

    int insert(Purchaserecord record);

    int insertSelective(Purchaserecord record);

    List<Purchaserecord> selectByExample(PurchaserecordExample example);

    Purchaserecord selectByPrimaryKey(Integer recordid);

    int updateByExampleSelective(@Param("record") Purchaserecord record, @Param("example") PurchaserecordExample example);

    int updateByExample(@Param("record") Purchaserecord record, @Param("example") PurchaserecordExample example);

    int updateByPrimaryKeySelective(Purchaserecord record);

    int updateByPrimaryKey(Purchaserecord record);
}